Skip to content

Prefix local MCP tool names and keep legacy aliases#343

Closed
dhruv7539 wants to merge 1 commit into
gleanwork:mainfrom
dhruv7539:codex/provider-prefixed-tool-names-254
Closed

Prefix local MCP tool names and keep legacy aliases#343
dhruv7539 wants to merge 1 commit into
gleanwork:mainfrom
dhruv7539:codex/provider-prefixed-tool-names-254

Conversation

@dhruv7539

Copy link
Copy Markdown
Contributor

Summary

  • rename published local MCP tool names to provider-prefixed variants:
    • glean_company_search
    • glean_people_profile_search
    • glean_chat
    • glean_read_documents
  • preserve backwards compatibility by accepting legacy names (company_search, people_profile_search, chat, read_documents) in callToolHandler
  • update local package docs and add a regression test that legacy aliases still execute successfully

Verification

  • pnpm -C packages/local-mcp-server test src/test/server.test.ts
  • pnpm -C packages/local-mcp-server exec eslint src/server.ts src/test/server.test.ts

Closes #254

@rwjblue-glean

Copy link
Copy Markdown
Member

Thanks for putting this together. The implementation is thoughtful: it moves the exposed local tool names to glean_*, keeps the legacy names accepted in callToolHandler, updates the package README, and adds a regression test for the legacy alias path.

We’re doing an archival cleanup for this repository because gleanwork/mcp-server predates Glean’s managed remote MCP server and is no longer the supported path for MCP usage. The provider/tool naming concern is real, but supported MCP usage should now go through the managed remote MCP server rather than this local package.

Migration docs:

Because we’re retiring this local package instead of continuing maintenance here, we’re not going to merge this PR. Closing as part of the archive cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Adopt provider-prefixed tool names for all exposed MCP tools to ensure clear namespacing.

2 participants